package com.lqq.sparrow.registry;

import com.lqq.sparrow.Service;

/**
 * @author liangqq
 */
public interface Registry {

    /**
     * 注册服务
     * @param service
     */
    void register(Service service);

    /**
     * 取消注册服务
     * @param service
     */
    void unRegister(Service service);
}
